<div class="form">

<?php $form=$this->beginWidget('CActiveForm', array(
	'id'=>'rawsmsmessage-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php echo $form->errorSummary($model); ?>

	<div class="row">
		<?php echo $form->labelEx($model,'originator'); ?>
		<?php echo $form->textField($model,'originator',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'originator'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'recipient'); ?>
		<?php echo $form->textField($model,'recipient',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'recipient'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'body'); ?>
		<?php echo $form->textField($model,'body',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'body'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'type'); ?>
		<?php echo $form->textField($model,'type',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'type'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sentAt'); ?>
		<?php echo $form->textField($model,'sentAt',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'sentAt'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'receivedAt'); ?>
		<?php echo $form->textField($model,'receivedAt',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'receivedAt'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'notificationType'); ?>
		<?php echo $form->textField($model,'notificationType',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'notificationType'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sendFrom'); ?>
		<?php echo $form->textField($model,'sendFrom',array('size'=>60,'maxlength'=>255)); ?>
		<?php echo $form->error($model,'sendFrom'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'sendServerTime'); ?>
		<?php echo $form->textField($model,'sendServerTime'); ?>
		<?php echo $form->error($model,'sendServerTime'); ?>
	</div>

	<div class="row">
		<?php echo $form->labelEx($model,'processed'); ?>
		<?php echo $form->textField($model,'processed'); ?>
		<?php echo $form->error($model,'processed'); ?>
	</div>

	<div class="row buttons">
		<?php echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php $this->endWidget(); ?>

</div><!-- form -->